package com.xue.first;

public class Monitor {
    //成员变量
    private  String stuName;
    private  String stuNum;
    private double stuScore;
    //行为方法
    //构造方法


    public Monitor() {
    }

    public Monitor(String stuName, String stuNum, double stuScore) {
        this.stuName = stuName;
        this.stuNum = stuNum;
        this.stuScore = stuScore;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuNum() {
        return stuNum;
    }

    public void setStuNum(String stuNum) {
        this.stuNum = stuNum;
    }

    public double getStuScore() {
        return stuScore;
    }

    public void setStuScore(double stuScore) {
        this.stuScore = stuScore;
    }

    @Override
    public String toString() {
        return "Monitor{" +
                "stuName='" + stuName + '\'' +
                ", stuNum='" + stuNum + '\'' +
                ", stuScore=" + stuScore +
                '}';
    }
}
